package com.groupmobile.quotes.database;


public class DataStatic {
	DatabaseQuote mDatabaseQuote = null;
	
	public DataStatic(DatabaseQuote mDatabaseQuote){
		this.mDatabaseQuote = mDatabaseQuote;
	}

	//Tạo data cho bảng Author
	Author mAuthor = null;
	public void iniAuthor(){
		//A
		mAuthor = new Author("1", "Abdul Kalam", "kalam");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("2", "Abraham H.Maslow", "maslow");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("3", "Abraham Lincoln", "lincoln");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("4", "Alan Watts", "watts");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("5", "Ablbert Camus", "camus");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		//B
		mAuthor = new Author("6", "Baltasar Gracian", "gracian");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("7", "Baruch Spinoza", "spinoza");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("8", "Benjamin Disraeli", "disraeli");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("9", "Benjamin Franklin", "franklin");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("10", "Bill Gates", "gates");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		//C
		mAuthor = new Author("11", "C. S. Lewis", "lewis");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("12", "Calvin Coolidge", "coolidge");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("13", "Carl Sagan", "sagan_c");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("14", "Charles Darwin", "darwin");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		mAuthor = new Author("15", "Charles Dickens", "dickens");
		mDatabaseQuote.insertAuthor(mAuthor);
		
		System.out.println("iniAuthor()");
	}
}
